package com.jianz.campus_markets.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jianz.campus_markets.domain.ResponseResult;
import com.jianz.campus_markets.domain.entity.Product;

/**
 * @author Jianz
 * @version 1.0
 * @Description
 * @Email jianz8153.gmail.com
 * @Date 2023/11/27 2:02
 */

public interface AdminService extends IService<Product> {
    ResponseResult getAllProducts();

    ResponseResult passProduct(int productId);

    ResponseResult failProduct(int productId);

    ResponseResult offProduct(int productId);
}
